

<?php require 'model/works.php'; ?>
<?php 

$db_works = new Works();

$id_works= $_GET['id'];

$works = $db_works->deleteWorks($id_works);
echo "<a href='index.php'> home</a>";

?>